Skip to content

Add support for test methods #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2015
Merged

Add support for test methods #6

merged 1 commit into from
May 1, 2015

Conversation

nicoddemus
Copy link
Member

  • Inspired on the default implementation for pytest_pyfunc_call for normal test functions
  • Refactor pytest_pyfunc_call to remove duplication

fixes #5

(BTW @Tinche, hope you don't mind me creating a branch in this repository instead of on a fork... let me know if you prefer the latter).

@coveralls
Copy link

Coverage Status

Coverage decreased (-11.11%) to 88.89% when pulling 8f19b54 on test-methods into 3fe4ef6 on master.

@ludovic-gasc
Copy link
Contributor

@nicoddemus or @Tinche: Is should be possible to configure @coveralls to don't have a comment message each time? coveralls is already present in the check list, with Travis-CI.

- Inspired on the default implementation for pytest_pyfunc_call for normal test functions
- Refactor pytest_pyfunc_call to remove duplication

fixes #5
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f11bd95 on test-methods into 3fe4ef6 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f11bd95 on test-methods into 3fe4ef6 on master.

@nicoddemus
Copy link
Member Author

@GMLudo I'm not sure... I also find them a little annoying to be honest, but they are useful.

Just updated the PR fixing the missing coverage lines. On thing I thought strange was that the missing coverage lines were almost the entire pytest_pyfunc_call function...

I just commented that function out locally and the tests still pass... 😳

@ludovic-gasc
Copy link
Contributor

@nicoddemus, yes it's really useful, like Travis-CI, nevertheless, at least to me, the checks in pull requests is less annoying that a new comment.

@Tinche
Copy link
Member

Tinche commented May 1, 2015

@nicoddemus Looks great to me! Thanks for dealing with this so quickly. As for branches/repos, just do what you feel most comfortable with.

@GMLudo I've disabled coveralls comments in pull requests. I have to admit I wasn't even aware of the 'Show all checks' thingy until now, pretty nifty!

Tinche added a commit that referenced this pull request May 1, 2015
@Tinche Tinche merged commit 4e38ead into master May 1, 2015
@Tinche Tinche deleted the test-methods branch May 1, 2015 23:19
smagafurov pushed a commit to smagafurov/pytest-asyncio that referenced this pull request Apr 4, 2018
Some facilities for AsyncQueryResult
@Tinche Tinche restored the test-methods branch April 20, 2020 21:31
@Tinche Tinche deleted the test-methods branch April 20, 2020 21:32
seifertm pushed a commit that referenced this pull request Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for test methods
4 participants